import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

//公共css文件
import './assets/css/common.css'
//字体图标样式
import './assets/css/iconfont.css'
//淘宝无线适配文件
import './assets/js/flexible'

// 引入ly-tab组件
import LyTab from 'ly-tab';
Vue.use(LyTab);

import { Lazyload } from 'mint-ui';

Vue.use(Lazyload);

//禁止双击变大
import fastClick from 'fastclick'
fastClick.attach(document.body);

// 局部引入 mint-ui
// import { MessageBox } from 'mint-ui';
// Vue.component(MessageBox);

//全局引入vant
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
